package pattern13.basketball;

/**
 * 前锋
 * @author wdl
 */
public class Forwards extends BasePlayer {
    public Forwards(String name) {
        super(name);
    }

    @Override
    public void attach() {
        System.out.println("前锋"+name+"进攻");
    }

    @Override
    public void defence() {
        System.out.println("前锋"+name+"防御");
    }
}
